import { request } from "@/utils"

// 1、获取登录token信息
function loginAPI(data) {
  return request.post('/authorizations',data)
}

// 2、获取用户信息
function userInfoAPI() {
  return request.get('/user/profile')
}

export {loginAPI,userInfoAPI}